package com.piggy.gen;

import com.piggy.common.satoken.annotation.EnableCustomConfig;
import com.piggy.common.satoken.annotation.EnableCustomFeignClients;
import com.piggy.common.swagger.annotation.EnableCustomSwagger2;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.context.config.annotation.RefreshScope;

import java.util.TimeZone;

/**
 * 代码生成
 *
 * @author shark
 */
@EnableCustomSwagger2
@EnableCustomConfig
@EnableCustomFeignClients
@RefreshScope
@SpringBootApplication
public class PIGYGenApplication {
    public static void main(String[] args) {
        TimeZone timeZone = TimeZone.getTimeZone("GMT+8");
        TimeZone.setDefault(timeZone);
        SpringApplication.run(PIGYGenApplication.class, args);
        System.out.println("(♥◠‿◠)ﾉﾞ  代码生成模块启动成功   ლ(´ڡ`ლ)ﾞ  \n" );
    }
}
